micro_utils.dokka
0.12.5
common
micro_utils.dokka
/
dev.inmo.micro_utils.common
/
[common]onFirst
on
First
common
inline
fun
<
T1
,
T2
,
E
:
Either
<
T1
,
T2
>
>
E
.
onFirst
(
block
:
(
T1
)
->
Unit
)
:
E
Content copied to clipboard
Will call
block
in case when
this
is
EitherFirst